home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / OpenGL 1.0 SDK / Source / Libraries / glut / glutbitmap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-18  |  635 b   |  31 lines  |  [TEXT/CWIE]

  1. #ifndef __glutbitmap_h__
  2. #define __glutbitmap_h__
  3.  
  4. /* Copyright (c) Mark J. Kilgard, 1994. */
  5.  
  6. /* This program is freely distributable without licensing fees 
  7.    and is provided without guarantee or warrantee expressed or 
  8.    implied. This program is -not- in the public domain. */
  9.  
  10. #include "gl.h"
  11.  
  12. typedef struct {
  13.   GLsizei width;
  14.   GLsizei height;
  15.   GLfloat xorig;
  16.   GLfloat yorig;
  17.   GLfloat advance;
  18.   GLubyte *bitmap;
  19. } BitmapCharRec, *BitmapCharPtr;
  20.  
  21. typedef struct {
  22.   char *name;
  23.   int num_chars;
  24.   int first;
  25.   BitmapCharPtr *ch;
  26. } BitmapFontRec, *BitmapFontPtr;
  27.  
  28. typedef void *GLUTbitmapFont;
  29.  
  30. #endif /* __glutbitmap_h__ */
  31.